/*
 * @Description: mark
 * @Author: wangwangwang
 * @Date: 2020-09-11 09:14:16
 * @LastEditors: wangwangwang
 * @LastEditTime: 2021-02-01 14:40:51
 */
import request from '@/utils/request'
export const queryPage = '/icps/system/sign/dataCollection/lotMaintain/QueryPage'
export const batchUpdateOrDelete = '/icps/system/sign/basics/rawMaterials/deletes'
export const saveOrUpdate = '/icps/system/sign/dataCollection/lotMaintain/saveOrUpdate'
export const Download = '/icps/system/sign/basics/rawMaterials/exportList'
/*获取份额量列表*/
export function getLotAllots(data) {
  return request({
    url: '/icps/system/sign/dataCollection/lotMaintain/getLotAllots',
    method: 'post',
    data
  })
}
/*获取审批记录*/
export function getauditLot(data) {
  return request({
    url: '/icps/system/sign/dataCollection/lotMaintain/getAuditLots',
    method: 'post',
    data
  })
}
/*获取合同列表*/
export function getContracts(data) {
  return request({
    url: '/icps/system/sign/dataCollection/contract/getContracts',
    method: 'post',
    data
  })
}
/*获取合同列表*/
export function saveOrUpdate2(data) {
  return request({
    url: '/icps/system/sign/dataCollection/lotMaintain/saveOrUpdate',
    method: 'post',
    data
  })
}
/*获取合同列表*/
export function uodateStatus(data) {
  return request({
    url: '/icps/system/sign/dataCollection/lotMaintain/uodateStatus',
    method: 'post',
    data
  })
}

/*获取强度等级及规范性能*/
export function getContractList(data) {
  return request({
    url: '/icps/system/sign/basics/qualityDetection/getContractList',
    method: 'post',
    data
  })
}
